package vip.sweet.biz.modular.comment.params;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.*;

import java.sql.Date;

/**
 * @author ASUS
 * @Date 2025/10/5 16:06
 * @Descripition
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Schema(description = "业务逻辑评论添加参数")
public class BizCommentsAddParams {
    @Schema(description = "产品ID")
    @NotBlank(message = "产品ID不能为空")
    private String productId;
    @Schema(description = "用户ID")
    @NotBlank(message = "用户ID不能为空")
    private String userId;
    @Schema(description = "用户名")
    @NotBlank(message = "用户名不能为空")
    private String username;
    @Schema(description = "用户头像")
    private String userAvatar;
    @Schema(description = "评分")
    private Integer rating;
    @NotBlank(message = "评论内容不能为空")
    @Schema(description = "评论内容")
    private String content;
    @Schema(description = "回复数")
    private Integer replyCount;
    @Schema(description = "点赞数")
    private Integer likes;
}
